package com.management.demo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "用户分配菜单参数")
public class AllocRoleDTO {

    @Schema(description = "用户id")
    Integer id;

    @Schema(description = "角色列表")
    List<RoleDTO> roles;
}
